<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
		<link href="css/details.css" rel="stylesheet" type="text/css">
		<link href="https://cdn.bootcdn.net/ajax/libs/Swiper/5.4.5/css/swiper.min.css" rel="stylesheet">
	</head>
	<body>
		<div class="bigbox">
		<div class="fixed1">
			<ul class="list">
				<li><a href="index.html"><img src="images/fixed_1.png"></a></li>
				<li class="active">商品</li>
				<li><a href="#yhpj">评价</a></li>
				<li><a href="#cs">参数</a></li>
				<li><a href="#ps">详情</a></li>
				<li><img src="images/fixed_2.png"></li>
			</ul>
			<div class="clear"></div>
		</div>
		<div class="head">
			<div class="head_h">
				<div class="fl">
					<img src="images/yyqx_prev.png" id="return">
				</div>
				<div class="fr">
					<img src="images/yyqx_head_all.png" id="xx">
				</div>
				<div class="clear"></div>
			</div>
			<div class="swiper-container swiper-test1">
			    <div class="swiper-wrapper">
			        <div class="swiper-slide pic1"></div>
			        <div class="swiper-slide pic2"></div>
			        <div class="swiper-slide pic3"></div>
			        <div class="swiper-slide pic4"></div>
			    </div>
			    <div class="swiper-pagination"></div>
			</div>			
		</div>
		<div class="xx_con">
			<ul>
				<li><i></i>首页</li>
				<li><i></i>首页</li>
				<li><i></i>首页</li>
				<li><i></i>首页</li>
				<li><i></i>首页</li>
			</ul>
		</div>
		<!-- concent -->
		<div class="content">
			<div class="content0">
				<div class="c_head">
					<p>¥2999</p>
					<div class="txt1">
						<h1>HUAWEI nova 7 5G 前置3200万像素高清自拍后置6400万变焦四摄麒麟985 5G SoC芯片8GB+128GB 全网通版（7号色）</h1>
					</div>
					<div class="txt2">
						<span>【818焕新季】①享6期免息②整点赠30元花币卡③积分双倍抵现,最高抵50元④V1及以上老用户加赠延保|以旧换新最高补贴1818元，点击参与>>></span>					
					</div>
				</div>
				<div class="txt2_2">
					<p><span>补贴1818元，点击参与>>></span>【818焕新季】①享6期免息②整点赠30元花币卡③积分双倍抵现,最高抵50元④V1及以上老用户加赠延保|以旧换新最高补贴1818元，点击参与>>></p>
				</div>
				<div class="ii">
					<img src="images/nav_more_down.png" class="i1">
					<img src="images/nav_more_up.png" class="i2">
				</div>
			</div>
			<div class="tx">
				<div class="fl">
					<p>促销</p>
				</div>
				<div class="fl two">
					<span>一站式换新</span>APP专享，最高补贴530元
					<span>整点赠送</span>0点/10点/16点/20点购买前
					<span>商品赠券</span><span>商品赠券</span><span>商品赠券</span>
				</div>
				<div class="fr">
					<img src="images/fixed_2.png">
				</div>
				<div class="clear"></div>
			</div>
		</div>
		<div class="blue"></div>
		<!-- ys -->
		<div class="content2">
			<div class="tx">
				<div class="fl">
					<p>颜色</p>
				</div>
				<div class="fl two three">
					<span class="active1">亮黑色</span><span>亮黑色</span><span>亮黑色</span>
					<span>亮黑色</span><span>亮黑色</span>
				</div>
				<div class="clear"></div>
			</div>
			<div class="tx">
				<div class="fl">
					<p>版本</p>
				</div>
				<div class="fl two four">
					<span class="active2">5G全网通 8GB+128GB</span><br/>
					<span>5G全网通 8GB+256GB</span>
				</div>
				<div class="clear"></div>
			</div>
			<div class="tx">
				<div class="fl">
					<p>类型</p>
				</div>
				<div class="fl two three">
					<span class="active1">官方标配</span>
				</div>
				<div class="clear"></div>
			</div>
			<div class="tx">
				<div class="fl">
					<p>数量</p>
				</div>
				<div class="fl two">
					<i class="jian"></i><h2>1</h2><i class="jia"></i>
				</div>
				<div class="clear"></div>
			</div>
			<div class="tx bk">
				<div class="fl">
					<p>保障</p>
				</div>
				<div class="fl two five">
					<span>选购</span>
					<span>碎屏宝</span>
					<span>碎屏宝</span>
				</div>
				<div class="fr">
					<img src="images/fixed_2.png">
				</div>
				<div class="clear"></div>
			</div>
			<div class="tx">
				<div class="fl">
					<p>免息</p>
				</div>
				<div class="fl two">
					<p>掌上生活/花呗分期直购，最高享6期免息</p>
				</div>
				<div class="fr">
					<img src="images/fixed_2.png">
				</div>
				<div class="clear"></div>
			</div>
		</div>
		<div class="blue"></div>
		<!-- dp -->
		<div class="dp">
			<div class="tx">
				<div class="fl">
					<p>搭配</p>
				</div>
				<div class="fl two five">
					<img src="images/yqyqx_dp_1.png">
					<img src="images/yyqx_j.png" class="jh">
					<img src="images/yqyqx_dp_1.png">
					<img src="images/yyqx_j.png" class="jh">
					<img src="images/yqyqx_dp_1.png">
					<img src="images/yyqx_j.png" class="jh">
					<img src="images/yqyqx_dp_1.png">
				</div>
				<div class="fr">
					<img src="images/yyqx_dp_r.png" class="hs_more">
				</div>
				<div class="clear"></div>
			</div>
		</div>
		<div class="blue"></div>
		<!-- sz -->
		<div class="sz">
			<div class="tx">
				<div class="fl">
					<p>送至</p>
				</div>
				<div class="fl two">
					<p>天津 天津市 和平区</p>
					<p class="galy"><span class="xh">现货</span>,今天21:59前付款，预计8月13日（周四）送达</p>
				</div>
				<div class="fr">
					<img src="images/fixed_2.png">
				</div>
				<div class="clear"></div>
			</div>
			<div class="tx">
				<div class="fl">
					<p>服务</p>
				</div>
				<div class="fl two">
					<p>已满48元包邮</p>
					<p>由华为终端提供商品、发货开票及售后服务</p>
				</div>
				<div class="fr">
					<img src="images/fixed_2.png">
				</div>
				<div class="clear"></div>
			</div>
		</div>
		<div class="blue"></div>
		<!-- tj -->
		<div class="tj">
			<div class="tx bk">
				<div class="fl">
					<p>推荐</p>
				</div>
				<div class="fl two five">
					<span>HUAWEI nova 7 Pro 5G</span><br/>
					<span>HUAWEI nova 7 Pro 5G</span>
				</div>
				<div class="fr">
					<img src="images/fixed_2.png">
				</div>
				<div class="clear"></div>
			</div>
		</div>
		<div class="blue"></div>
		<!--  -->
		<div class="hs">
			<div class="tx">
				<img src="images/yyqx_hs.png" class="fl">
				<div class="fl two">
					<span>以旧换新</span>高价回收送多重购新补贴
				</div>
				<div class="fr">
					<img src="images/yyqx_dp_r.png" class="hs_more">
				</div>
				<div class="clear"></div>
			</div>
		</div>
		<div class="blue"></div>
		<!-- yhpj -->
		<div class="yhpj" id="yhpj">
			<div class="yh_head">
				<div class="fl">
					<p>用户评价（8279）</p>
				</div>
				<div class="fr">
					<span>98%</span> 好评
					<img src="images/yyqx_dp_r.png" class="yhpj_more">
				</div>
				<div class="clear"></div>
			</div>
			<div class="lbt">
				<div class="swiper-container swiper-yhpj">
				    <div class="swiper-wrapper">
				        <div class="swiper-slide">
							<div class="yh1">
								<div class="fl al">
									<div class="yh_xx">
										<div class="fl">
											<img src="images/yyqx_lbt_tx.jpg">
										</div>
										<div class="fl">
											<p>彭*</p>
											<i></i>
										</div>
										<div class="clear"></div>	
									</div>
									<div class="yh_txt">
										华为出品，必是精品，支持华为！全家人手机都是华为，这是第九部华为手机，给我家女宝买的，漂亮好用，赞华为！！！
									</div>
								</div>
								<div class="fr ar">
									<img src="images/yyqx_lbt_1.jpg">
								</div>
								<div class="clear"></div>
							</div>
						</div>
				        <div class="swiper-slide">
							<div class="yh1">
								<div class="fl al">
									<div class="yh_xx">
										<div class="fl">
											<img src="images/yyqx_lbt_tx.jpg">
										</div>
										<div class="fl">
											<p>彭*</p>
											<i></i>
										</div>
										<div class="clear"></div>	
									</div>
									<div class="yh_txt">
										华为出品，必是精品，支持华为！全家人手机都是华为，这是第九部华为手机，给我家女宝买的，漂亮好用，赞华为！！！
									</div>
								</div>
								<div class="fr ar">
									<img src="images/yyqx_lbt_1.jpg">
								</div>
								<div class="clear"></div>
							</div>
						</div>
				        <div class="swiper-slide">
							<div class="yh1">
								<div class="fl al">
									<div class="yh_xx">
										<div class="fl">
											<img src="images/yyqx_lbt_tx.jpg">
										</div>
										<div class="fl">
											<p>彭*</p>
											<i></i>
										</div>
										<div class="clear"></div>	
									</div>
									<div class="yh_txt">
										华为出品，必是精品，支持华为！全家人手机都是华为，这是第九部华为手机，给我家女宝买的，漂亮好用，赞华为！！！
									</div>
								</div>
								<div class="fr ar">
									<img src="images/yyqx_lbt_1.jpg">
								</div>
								<div class="clear"></div>
							</div>
						</div>
				    </div>	    
				</div>
			</div>
			<div class="pj_footer">
				<div class="pj_f2">
					<span>查看全部评价</span>
					<span>查看全部评价</span>
				</div>
			</div>
		</div>
		<div class="blue"></div>
		<!--ggcs  -->
		<div class="cs" id="cs">
			<p>规格参数</p>
			<div class="cs_cs">
				<div class="fl left">
					<span>传播名</span>
				</div>
				<div class="fl right">
					nova 7 5G
				</div>
				<div class="clear"></div>
			</div>
			<div class="cs_cs">
				<div class="fl left">
					<span>后置摄像头</span>
				</div>
				<div class="fl right">
					后置四摄：6400万像素超感光摄像头(广角，f/1.8光圈)+800万像素超广角摄像头
					(超广角，f/2.4光圈)+800万像素长焦摄像头（f/2.4光圈）+200万像素微距摄像头
					（f/2.4光圈)支持自动对焦（相位对焦/反差对焦）
				</div>
				<div class="clear"></div>
			</div>
			<div class="cs_footer">
				<span>查看全部参数</span>
			</div>
			<div class="white">
				<img src="images/yyqx_white.png">
			</div>
			
		</div>
		<!-- tpq -->
		<div class="blue"></div>
		<div class="ps" id="ps">
			<img src="images/yyqx_tp1.jpg">
			<img src="images/yyqx_tp2.jpg">
			<img src="images/yyqx_tp3.jpg">
			<img src="images/yyqx_tp4.jpg">
			<img src="images/yyqx_tp5.jpg">
			<img src="images/yyqx_tp6.jpg">
			<img src="images/yyqx_tp7.jpg">
			<img src="images/yyqx_tp8.jpg">
			<img src="images/yyqx_tp9.jpg">
			<img src="images/yyqx_tp10.jpg">
			<img src="images/yyqx_tp11.jpg">
			<img src="images/yyqx_tp12.jpg">
			<img src="images/yyqx_tp13.jpg">
			<img src="images/yyqx_tp14.jpg">
			<img src="images/yyqx_tp15.jpg">
			<img src="images/yyqx_tp16.jpg">
		</div>
		<div class="blue"></div>
		<!-- bz -->
		<div class="bz">
			<div class="bz_bz">
				<p>包装清单</p>
				<div class="bz_list">
					<div class="fl">
						<ul>
							<li>手机（含内置电池）X 1</li>
							<li>手机（含内置电池）X 1</li>
							<li>手机（含内置电池）X 1</li>
							<li>手机（含内置电池）X 1</li>
							<li>手机（含内置电池）X 1</li>
							<li>手机（含内置电池）X 1</li>
						</ul>
					</div>
					<div class="fl">
						<ul>
							<li>快速指南 X 1</li>
							<li>快速指南 X 1</li>
							<li>快速指南 X 1</li>
							<li>快速指南 X 1</li>
							<li>快速指南 X 1</li>
							<li>快速指南 X 1</li>
						</ul>
					</div>
					<div class="clear"></div>
				</div>
			</div>
			<div class="shfw">
				<p>售后服务</p>
				<ul>
					<li>本产品全国联保，享受三包服务，保修期：1年</li>
					<li>本产品全国联保，享受三包服务，保修期：1年</li>
					<li>本产品全国联保，享受三包服务，保修期：1年</li>
					<li>本产品全国联保，享受三包服务，保修期：1年</li>
					<li>本产品全国联保，享受三包服务，保修期：1年</li>	
				</ul>
			</div>
			<div class="shfw">
				<p>特别提醒</p>
				<ul>
					<li>以上页面中的产品图片及屏幕内容仅作示意，实物产品效果（包括但不仅限于外观、颜色、尺寸）和屏幕显示内容（包括但不仅限于背景、UI、配图）可能略有差异，请以实物为准。</li>
					<li>以上页面中的产品图片及屏幕内容仅作示意，实物产品效果（包括但不仅限于外观、颜色、尺寸）和屏幕显示内容（包括但不仅限于背景、UI、配图）可能略有差异，请以实物为准。</li>
					<li>以上页面中的产品图片及屏幕内容仅作示意，实物产品效果（包括但不仅限于外观、颜色、尺寸）和屏幕显示内容（包括但不仅限于背景、UI、配图）可能略有差异，请以实物为准。</li>
				</ul>
			</div>
		</div>
		<!--  -->
		<div class="hw">
			<i></i>
		</div>
		<!-- gotop -->
		<div class="gotop">
			<img src="images/fixed.png">
		</div>
		<!-- bottem -->
		<div class="bottom">
			<div class="fl two">
				<img src="images/yyqx_bot1.png">
				<p><a href="index.html">首页</a></p>
			</div>
			<div class="fl two">
				<img src="images/yyqx_bt2.png">
				<p><a href="mine.html">客服</a></p>
			</div>
			<div class="fl two">
				<img src="images/yyqx_bt3.png">
				<p>购物车</p>
			</div>
			<div class="fr gm">
				<span class="a">加入购物车</span><span class="b">&nbsp;&nbsp;&nbsp;立即购买</span>
			</div>
			<div class="clear"></div>
		</div>
		</div>
		<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
		<script src="https://cdn.bootcdn.net/ajax/libs/Swiper/5.4.5/js/swiper.min.js"></script>
		<script>
			// lbt1
			var testSwiper = new Swiper('.swiper-test1', {
			    loop: true,
			    initialSlide: 1,
			    speed: 1500, 
			    autoplay: {
			        delay: 5000, 
			    },
				pagination: {
				    el: '.swiper-test1 .swiper-pagination',
				    clickable: true,
					type: 'fraction',
				},
				navigation: {
				    nextEl: '.swiper-test1 .swiper-button-next',
				    prevEl: '.swiper-test1 .swiper-button-prev',
				},
			})
			$("#xx").click(function(){
				$(".xx_con").toggle();
			})
			// ii
			$(".i1").click(function(){
				$(".txt2_2").toggle();
				$(".i1").hide();
				$(".i2").show();
			})
			$(".i2").click(function(){
				$(".txt2_2").toggle();
				$(".i2").hide();
				$(".i1").show();
			})
			// fixed1
			$(".list li").click(function(){
				$(this).addClass('active').siblings().removeClass('active');
			})
			// 
			$(".content2 .three span").click(function(){
				$(this).addClass("active1").siblings().removeClass("active1");
			})
			$(".content2 .four span").click(function(){
				$(this).addClass("active2").siblings().removeClass("active2");
			})
			// lbt1
				var testSwiper = new Swiper('.swiper-yhpj', {
			    loop: true,
			    initialSlide: 1,
			    speed: 1500, 
			    autoplay: {
			        delay: 5000, 
			    },
				
			})
			// gotop
			var gotop=document.querySelector(".gotop");
			var fixed1=document.querySelector(".fixed1");
			window.onscroll=function(){
				// console.log(document.documentElement.scrollTop);
				if(document.documentElement.scrollTop>=200){
					gotop.style.display="block";
					fixed1.style.display="block";
					
				}
				else{
					gotop.style.display="none";
					fixed1.style.display="none";
				}
			}
			gotop.onclick=function(){
				document.documentElement.scrollTop=0;
			}
			
			// 
			$(".jia").click(function(){
				var i=$("h2").text();
				i++;
				$("h2").text(i);
			})
			$(".jian").click(function(){
				var i=$("h2").text();	
				if(i<=0){
					$("h2").text(0);
				}
				else{
					i--;
					$("h2").text(i);
				}
			})
		</script>
	</body>
</html>
